import requests
import re

def geturls():
    target = "http://www.qstheory.cn/dukan/qs/2014/2019-01/01/c_1123924172.htm"
    response = requests.get(target).content.decode('UTF-8')
    return [span for span in
            re.findall(r'<a href="(.+/dukan/.+\.htm)"', response)]


if __name__ == "__main__":
    urls = geturls()
    for x in urls:
        print(x)
